package com.mall.service;

import com.mall.entity.Orders;
import com.mall.entity.OrderVO;
import com.mall.entity.Orders;
import com.mall.vo.ResultVO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface OrderService {
    Map<String,String> addOrder(String[] cids, Orders order);
    public ResultVO getWXPay(Map<String,String> map) ;
    public Integer updateOrderStatus(Orders order);
    public String callback(HttpServletRequest request) throws Exception;
    public ResultVO getOrderById(String orderId);
    public void closeOrder(String orderId);
}
